|
|
|
|
- How to initialize a data source
<Source>.DataSourceKnown (Function) In french: <Source>.SourceDeDonnéesConnue Determines if a data source has been initialized. This function prevents errors such as "You called XXX . The YYY data source has not been initialized". MaVue is Data Source
IF MaVue.SourceDeDonnéesConnue() = False THEN
MaVue.CréeVue(CLIENT, "*", "NOM,VILLE", "NOM]='A'", hViewDefault)
END
Syntax
<Result> = <Data source to check>.DataSourceKnown()
<Result>: Boolean - True if the data source has been initialized,
- False otherwise. HErrorInfo returns more details about the problem.
<Data source to check>: Data Source variable Data Source variable to be checked. This data source can correspond to: - an external data file,
- an SQL query,
- a view.
Remarks How to initialize a data source The method used to initialize a data source depends on its content: For more details, see the help page on the Data Source variable type. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|